package sartoservicesync.entities.rakuten.wrapper;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import sartoservicesync.entities.rakuten.RakutenCategory;

@XmlRootElement(name = "result")
@XmlAccessorType(XmlAccessType.FIELD)
public class RakutenCategoryWrapper extends RakutenTagWrapper {

	@XmlElementWrapper
	@XmlElement(name = "category")
	private List<RakutenCategory> categories = new ArrayList<RakutenCategory>();

	public List<RakutenCategory> getCategories() {
		return categories;
	}

	public void setCategories(List<RakutenCategory> categories) {
		this.categories = categories;
	}

}
